﻿<?xml version="1.0" encoding="utf-8"?>
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
	<Module Name="DispForm" Url="$Resources:core,lists_Folder;/Absences" Path="" xmlns="http://schemas.microsoft.com/sharepoint/">
    <File Url="DispForm.aspx">
      <AllUsersWebPart WebPartOrder="2" WebPartZoneID="Main">
        <![CDATA[ 
<webParts>
	<webPart xmlns="http://schemas.microsoft.com/WebPart/v3">
		<metaData>
			<type name="Microsoft.SharePoint.WebPartPages.DataFormWebPart, Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" />
			<importErrorMessage>Cannot import this Web Part.</importErrorMessage>
		</metaData>
		<data>
			<properties>
				<property name="MissingAssembly" type="string">Cannot import this Web Part.</property>
				<property name="FireInitialRow" type="bool">True</property>
				<property name="TitleIconImageUrl" type="string" />
				<property name="HelpMode" type="helpmode">Modeless</property>
				<property name="CacheXslStorage" type="bool">True</property>
				<property name="ViewContentTypeId" type="string" />
				<property name="Description" type="string" />
				<property name="DataSourcesString" type="string">&lt;%@ Register TagPrefix="cc1" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %&gt;&lt;%@ Register TagPrefix="cc2" Namespace="Microsoft.SharePoint.WebPartPages" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %&gt;&lt;cc1:AggregateDataSource runat="server" ID="New_x0020_Data_x0020_Source1" SeparateRoot="true" RootName="" IsSynchronous="" RowsName=""&gt;&lt;Aggregate&gt;
&lt;concat name="data source"&gt;&lt;datasource name="Absences_Trimmed" id="0" Type="SPList"/&gt;&lt;datasource name="Responsibility_Adoption" id="1" Type="SPList"/&gt;&lt;/concat&gt;&lt;/Aggregate&gt;
&lt;Sources&gt;
&lt;cc1:SPDataSource runat="server" SelectCommand="&amp;lt;View&amp;gt;&amp;lt;ViewFields&amp;gt;&amp;lt;FieldRef Name=&amp;quot;fRecurrence&amp;quot;/&amp;gt;&amp;lt;FieldRef Name=&amp;quot;ID&amp;quot;/&amp;gt;&amp;lt;FieldRef Name=&amp;quot;Author&amp;quot;/&amp;gt;&amp;lt;FieldRef Name=&amp;quot;PermMask&amp;quot;/&amp;gt;&amp;lt;/ViewFields&amp;gt;&amp;lt;Query&amp;gt;&amp;lt;Where&amp;gt;&amp;lt;Eq&amp;gt;&amp;lt;FieldRef Name=&amp;quot;ID&amp;quot;/&amp;gt;&amp;lt;Value Type=&amp;quot;Counter&amp;quot;&amp;gt;{Param1}&amp;lt;/Value&amp;gt;&amp;lt;/Eq&amp;gt;&amp;lt;/Where&amp;gt;&amp;lt;/Query&amp;gt;&amp;lt;/View&amp;gt;" DataSourceMode="List" UseInternalName="True" ID="Absences_x0020_Trimmed1"&gt;&lt;SelectParameters&gt;
&lt;cc2:DataFormParameter PropertyName="ParameterValues" ParameterKey="ListName" DefaultValue="$Resources:avm,Absences;" Name="ListName"&gt;&lt;/cc2:DataFormParameter&gt;
&lt;cc2:DataFormParameter PropertyName="ParameterValues" ParameterKey="Param1" DefaultValue="1" Name="Param1"&gt;&lt;/cc2:DataFormParameter&gt;
&lt;/SelectParameters&gt;
&lt;/cc1:SPDataSource&gt;
&lt;cc1:SPDataSource runat="server" SelectCommand="&amp;lt;View&amp;gt;&amp;lt;/View&amp;gt;" DataSourceMode="List" UseInternalName="True"&gt;&lt;SelectParameters&gt;
&lt;asp:Parameter DefaultValue="$Resources:avm,ResponsibilityAdoption;" Name="ListName"&gt;&lt;/asp:Parameter&gt;
&lt;/SelectParameters&gt;
&lt;/cc1:SPDataSource&gt;
&lt;/Sources&gt;
&lt;/cc1:AggregateDataSource&gt;
</property>
				<property name="AllowZoneChange" type="bool">True</property>
				<property name="ParameterBindings" type="string">
	&lt;ParameterBinding Name="dvt_apos" Location="Postback;Connection"/&gt;
	&lt;ParameterBinding Name="UserID" Location="CAMLVariable" DefaultValue="CurrentUserName"/&gt;
	&lt;ParameterBinding Name="Today" Location="CAMLVariable" DefaultValue="CurrentDate"/&gt;
	&lt;ParameterBinding Name="Param1" Location="QueryString(ID)" DefaultValue="1"/&gt;
</property>
				<property name="PageSize" type="int">-1</property>
				<property name="TitleUrl" type="string" />
				<property name="ViewFlag" type="string">0</property>
				<property name="Xsl" type="string">
&lt;xsl:stylesheet xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:x="http://www.w3.org/2001/XMLSchema" xmlns:d="http://schemas.microsoft.com/sharepoint/dsp" version="1.0" exclude-result-prefixes="xsl msxsl ddwrt" xmlns:ddwrt="http://schemas.microsoft.com/WebParts/v2/DataView/runtime" xmlns:asp="http://schemas.microsoft.com/ASPNET/20" xmlns:__designer="http://schemas.microsoft.com/WebParts/v2/DataView/designer" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:SharePoint="Microsoft.SharePoint.WebControls" xmlns:ddwrt2="urn:frontpage:internal"&gt;
	&lt;xsl:output method="html" indent="no"/&gt;
	&lt;xsl:decimal-format NaN=""/&gt;
	&lt;xsl:param name="dvt_apos"&gt;'&lt;/xsl:param&gt;
	&lt;xsl:param name="Param1"&gt;1&lt;/xsl:param&gt;
	&lt;xsl:variable name="dvt_1_automode"&gt;0&lt;/xsl:variable&gt;
	&lt;xsl:template match="/"&gt;
		&lt;xsl:call-template name="dvt_1"/&gt;
	&lt;/xsl:template&gt;
	&lt;xsl:template name="dvt_1"&gt;
		&lt;xsl:variable name="dvt_StyleName"&gt;Table&lt;/xsl:variable&gt;
		&lt;xsl:variable name="Rows" select="/dsQueryResponse/Responsibility_Adoption/Rows/Row[substring-before(@Author,'&amp;lt;/A&amp;gt;') = substring-before(/dsQueryResponse/Absences_Trimmed/Rows/Row/@Author,'&amp;lt;/A&amp;gt;')]"/&gt;
  &lt;SCRIPT type="text/javascript"&gt;
  function GetSource(defaultSource)
  {
   return escapeProperly(STSPageUrlValidation(window.location.href));
  }
  &lt;/SCRIPT&gt;
		&lt;table border="0" width="100%" cellpadding="2" cellspacing="0"&gt;
			&lt;tr valign="top"&gt;
				&lt;xsl:if test="$dvt_1_automode = '1'" ddwrt:cf_ignore="1"&gt;
					&lt;th class="ms-vh" width="1%" nowrap="nowrap"&gt;&lt;/th&gt;
				&lt;/xsl:if&gt;
        &lt;th class="ms-vh" nowrap="nowrap"&gt;$Resources:avm,FieldName_Absentee;&lt;/th&gt;
				&lt;th class="ms-vh" nowrap="nowrap"&gt;$Resources:avm,Responsibilities;&lt;/th&gt;
				&lt;th class="ms-vh" nowrap="nowrap"&gt;$Resources:avm,Contact;&lt;/th&gt;
			&lt;/tr&gt;
			&lt;xsl:call-template name="dvt_1.body"&gt;
				&lt;xsl:with-param name="Rows" select="$Rows"/&gt;
			&lt;/xsl:call-template&gt;
			&lt;tr&gt;
			&lt;td colspan="99" class="ms-vh"&gt;
			&lt;a href="../ResponsibilityAdoption/NewForm.aspx" onclick="this.href = unescapeProperly(escape(this.href)); GoToLink(this); return false;" target="_self"&gt;$Resources:avm,NavBar_SpecifyResponsibility;&lt;/a&gt;
			&lt;/td&gt;
			&lt;/tr&gt;
		&lt;/table&gt;
	&lt;/xsl:template&gt;
	&lt;xsl:template name="dvt_1.body"&gt;
		&lt;xsl:param name="Rows"/&gt;
		&lt;xsl:for-each select="$Rows"&gt;
			&lt;xsl:call-template name="dvt_1.rowview"/&gt;
		&lt;/xsl:for-each&gt;
	&lt;/xsl:template&gt;
	&lt;xsl:template name="dvt_1.rowview"&gt;
		&lt;tr&gt;
			&lt;xsl:if test="position() mod 2 = 1"&gt;
				&lt;xsl:attribute name="class"&gt;ms-alternating&lt;/xsl:attribute&gt;
			&lt;/xsl:if&gt;
			&lt;xsl:if test="$dvt_1_automode = '1'" ddwrt:cf_ignore="1"&gt;
				&lt;td class="ms-vb" width="1%" nowrap="nowrap"&gt;
					&lt;span ddwrt:amkeyfield="" ddwrt:amkeyvalue="string($XPath)" ddwrt:ammode="view"&gt;&lt;/span&gt;
				&lt;/td&gt;
			&lt;/xsl:if&gt;
      &lt;td class="ms-vb"&gt;
				&lt;xsl:value-of disable-output-escaping="yes" select="@Author"/&gt;
			&lt;/td&gt;
			&lt;td class="ms-vb"&gt;
				&lt;xsl:value-of disable-output-escaping="yes" select="@AVMResponsibilityAdoption"/&gt;
			&lt;/td&gt;
			&lt;td class="ms-vb"&gt;
				&lt;xsl:value-of select="@AVMEmailto" disable-output-escaping="yes"/&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
	&lt;/xsl:template&gt;
&lt;/xsl:stylesheet&gt;	</property>
				<property name="NoDefaultStyle" type="string">TRUE</property>
				<property name="Direction" type="direction">NotSet</property>
				<property name="UseSQLDataSourcePaging" type="bool">True</property>
				<property name="ListName" type="string" null="true" />
				<property name="Hidden" type="bool">False</property>
				<property name="DisplayName" type="string" />
				<property name="HelpUrl" type="string" />
				<property name="ChromeType" type="chrometype">TitleAndBorder</property>
				<property name="CatalogIconImageUrl" type="string" />
				<property name="Height" type="string" />
				<property name="DataFields" type="string">@Title,Title;@AVMAbsenceType,Absence Type;@EventDate,Start Time;@EndDate,End Time;@Description,Description;@fAllDayEvent,All Day Event;@fRecurrence,Recurrence;@AVMStatus,Status;@AVMComments,Comments;@ID,ID;@ContentType,Content Type;@Modified,Modified;@Created,Created;@Author,Created By;@Editor,Modified By;@_UIVersionString,Version;@Attachments,Attachments;@File_x0020_Type,File Type;@FileLeafRef,Name (for use in forms);@FileDirRef,Path;@FSObjType,Item Type;@_HasCopyDestinations,Has Copy Destinations;@_CopySource,Copy Source;@ContentTypeId,Content Type ID;@_ModerationStatus,Approval Status;@_UIVersion,UI Version;@Created_x0020_Date,Created;@FileRef,URL Path;@AVMResponsibilityAdoption,Responsibilities;@AVMEmailto,Contact;</property>
				<property name="Default" type="string" />
				<property name="ChromeState" type="chromestate">Normal</property>
				<property name="DataSourceID" type="string" />
				<property name="AllowClose" type="bool">True</property>
				<property name="CacheXslTimeOut" type="int">86400</property>
				<property name="AllowMinimize" type="bool">True</property>
				<property name="AllowEdit" type="bool">True</property>
				<property name="XslLink" type="string" null="true" />
				<property name="Title" type="string">$Resources:avm,ResponsibilityAdoption;</property>
				<property name="Width" type="string" />
				<property name="ShowWithSampleData" type="bool">False</property>
				<property name="ExportMode" type="exportmode">All</property>
				<property name="AllowHide" type="bool">True</property>
				<property name="AllowConnect" type="bool">True</property>
			</properties>
		</data>
	</webPart>
</webParts>        
        ]]>
      </AllUsersWebPart>
    </File>
  </Module>
</Elements>